package com.hdg.boot.util;

/**
 * @author huangdenggong
 * @create 2022-11-05 19:24
 * describe
 */
public class CustomException extends RuntimeException{
    private String message;

    public CustomException(String message) {
        super(message);
        this.message = message;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
